package com.yz.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.yz.entity.Membership;

public interface MembershipMapper {
	
	//获取院系列表
	public List<Membership> getMem(Membership membershipDto);
	//添加院系信息
	public boolean addMem(Membership membership);
	//修改院系信息
	public boolean updateMem(Membership membership);
	//删除院系信息
	public boolean delMem(int memid);
	
	//获取部门
	@Select("select * from membership")
	public List<Membership> getAllMem();

}
